package com.lanou.bookstore.order.dao;

import com.lanou.bookstore.order.domain.Order;
import com.lanou.bookstore.order.domain.OrderItem;
import com.lanou.bookstore.order.domain.Transit;

import java.util.List;

public interface OrderDao {

    int insertOrder(Order order);
    void insertOrderItem(OrderItem item);
    List<Order> queryAll(String uid);
    List<Transit> queryTransit(String oid);
    int queryByOid(String oid);
    List<Order> queryAll();
    List<Transit> queryAll2();
    void changeOrderState(int state, String oid);
    List<Order> queryByState(int state);

}
